home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / os2 / gnuwget.zip / wget-1.4.3 / doc / Makefile < prev    next >
Makefile  |  1997-02-14  |  3KB  |  136 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile for `wget' utility
  3. # Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
  4.  
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2 of the License, or
  8. # (at your option) any later version.
  9.  
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14.  
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program; if not, write to the Free Software
  17. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. #
  20. # Version: Wget/1.4.3
  21. #
  22.  
  23. SHELL = sh
  24.  
  25. # Program to format Texinfo source into Info files.
  26. MAKEINFO = makeinfo $(srcdir)/wget.texi
  27. # Program to format Texinfo source into DVI files.
  28. TEXI2DVI = texi2dvi
  29. # Program to convert DVI files to PostScript
  30. DVIPS = dvips -D 300
  31. # Program to convert texinfo files to html
  32. TEXI2HTML = texi2html -expandinfo -split_chapter
  33.  
  34. top_srcdir = ..
  35. srcdir     = .
  36.  
  37. prefix     = f:/usr/local
  38. infodir    = ${prefix}/info
  39. mandir     = ${prefix}/man
  40. manext     = 1
  41. sysconfdir = ${prefix}/etc
  42.  
  43. INSTALL      = .././install-sh -c
  44. INSTALL_DATA = ${INSTALL} -m 644
  45. RM = rm -f
  46.  
  47. MAN        = wget.$(manext)
  48. WGETRC     = $(sysconfdir)/wgetrc
  49.  
  50. #
  51. # Dependencies for building
  52. #
  53.  
  54. all: wget.cat wget.info
  55.  
  56. everything: all wget_us.ps wget_a4.ps wget_toc.html
  57.  
  58. wget.info: wget.texi
  59.     -$(MAKEINFO)
  60.  
  61. wget.cat: $(MAN)
  62.     nroff -man $(srcdir)/$(MAN) > wget.cat
  63.  
  64. wget.dvi: wget.texi
  65.     $(TEXI2DVI) $(srcdir)/wget.texi
  66.  
  67. wget_us.ps: wget.dvi
  68.     $(DVIPS) -t letter -o $@ wget.dvi
  69.  
  70. wget_a4.ps: wget.dvi
  71.     $(DVIPS) -t a4 -o $@ wget.dvi
  72.  
  73. wget_toc.html: wget.texi
  74.     $(TEXI2HTML) $(srcdir)/wget.texi
  75.  
  76. #
  77. # Dependencies for installing
  78. #
  79.  
  80. # install all the documentation
  81. install: install.man install.info install.wgetrc
  82.  
  83. # uninstall all the documentation
  84. uninstall: uninstall.man uninstall.info
  85.  
  86. # install info pages, creating install directory if necessary
  87. install.info: wget.info
  88.     $(top_srcdir)/mkinstalldirs $(infodir)
  89.     -for file in $(srcdir)/wget.info*; do \
  90.        [ -f "$$file" ] && $(INSTALL_DATA) $$file $(infodir) ; \
  91.     done
  92.  
  93. # install man page, creating install directory if necessary
  94. install.man:
  95.     $(top_srcdir)/mkinstalldirs $(mandir)/man$(manext)
  96.     $(INSTALL_DATA) $(srcdir)/$(MAN) $(mandir)/man$(manext)/$(MAN)
  97.  
  98. # install sample.wgetrc
  99. install.wgetrc:
  100.     $(top_srcdir)/mkinstalldirs $(sysconfdir)
  101.     -if [ -f $(WGETRC) ]; then \
  102.        mv $(WGETRC) $(WGETRC).old ; \
  103.     fi
  104.     $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(WGETRC)
  105.  
  106. # uninstall info pages
  107. uninstall.info:
  108.     $(RM) $(infodir)/wget.info*
  109.  
  110. # uninstall man page
  111. uninstall.man:
  112.     $(RM) $(mandir)/man$(manext)/$(MAN)
  113.  
  114. #
  115. # Dependencies for cleanup
  116. #
  117.  
  118. clean:
  119.     $(RM) *~ *.bak *.cat
  120.     $(RM) *.dvi *.aux *.cp *.cps *.fn *.toc *.tp *.vr *.ps *.ky *.pg *.log
  121.  
  122. distclean: clean
  123.     $(RM) Makefile
  124.  
  125. realclean: distclean
  126.     $(RM) wget.info*
  127.  
  128. #
  129. # Dependencies for maintenance
  130. #
  131.  
  132. subdir = doc
  133.  
  134. Makefile: Makefile.in ../config.status
  135.     cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
  136.